﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="step1_0.aspx.cs" Inherits="JumbotCms.Install._step1_0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>数据库配置 - JumbotCms简易在线安装</title>
<link type="text/css" rel="stylesheet" href="images/style.css" />
<link type="text/css" rel="stylesheet" href="../admin/otherpage/styles/common.css" />
<script type="text/javascript" src="../_data/SysConfig.js?time=New Date()"></script>
<script type="text/javascript" src="../_libs/jquery-min.js"></script>
<script type="text/javascript" src="../scripts/jumbotcms.js?v4"></script>
<link type="text/css" rel="stylesheet" href="../style/global.css" />
<link rel="stylesheet" href="../_libs/jquery.tabs/style.css"
        type="text/css">
<!--[if lte IE 7]>
<link type="text/css" rel="stylesheet" href="../_libs/jquery.tabs/style-ie.css">
<![endif]-->
<link type="text/css" rel="stylesheet" href="../_libs/jquery.formvalidator/style.css" />
<script type="text/javascript" src="../_libs/jquery.formvalidator.js"></script>

<script type="text/javascript">
$(document).ready(function(){
	$.formValidator.initConfig({onError:function(msg){}});
	$("#txtDBPath").formValidator({tipid:"tipDBPath",onshow:"以/开头，后缀为config",onfocus:"以/开头，后缀为config",oncorrect:""}).RegexValidator({regexp:"^\(/[_\-a-zA-Z0-9\.]+(/{1}[_\-a-zA-Z0-9\.]+)*\.config)$",onerror:"格式不正确"});
});
</script>
</head>
<body>
<form id="form1" runat="server" onsubmit="return jQuery.formValidator.PageIsValid('1')">
	<div id="DivForm" runat="server" style="width:770px;margin:10px auto;">
		<div class="toplogo">
			<div class="logo"> <img src="../_data/style/logo.jpg" /> </div>
		</div>
		<div>
			<ul class="tabs-nav">
				<li><a href="#"><span>数据库配置</span></a></li>
			</ul>
		</div>
		<div class="tabs-container">
			<table class="formtable">
				<tr>
					<th> 数据库路径 </th>
					<td><asp:TextBox ID="txtDBPath" runat="server" Width="97%"></asp:TextBox>
						<div class="ValidatorTip" id="tipDBPath" style="width:250px"> </div></td>
				</tr>
			</table>
		</div>
		<div id="DivMessage" runat="server" style="width: 100%"> </div>
	</div>
	<div class="buttonok">
		<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="确定" />
	</div>
</form>
</body>
</html>
